gpsbabel.git
10 years agoUpdating changelog.
Bernd Zeimetz [Sun, 25 Oct 2015 19:37:13 +0000 (20:37 +0100)]
Updating changelog.

10 years agoRefreshing patches.
Bernd Zeimetz [Sun, 25 Oct 2015 19:36:38 +0000 (20:36 +0100)]
Refreshing patches.

10 years agoMerge branch 'upstream'
Bernd Zeimetz [Sun, 25 Oct 2015 19:36:02 +0000 (20:36 +0100)]
Merge branch 'upstream'

10 years agoMerge tag 'gpsbabel_1_5_2' into upstream
Bernd Zeimetz [Sun, 25 Oct 2015 19:33:52 +0000 (20:33 +0100)]
Merge tag 'gpsbabel_1_5_2' into upstream

11 years agoRelease 1.5.2.
robertlipe [Sat, 3 Jan 2015 02:54:35 +0000 (02:54 +0000)]
Release 1.5.2.

11 years agoDelete mkdmg which hasn't been used in years.
robertlipe [Sat, 3 Jan 2015 02:40:47 +0000 (02:40 +0000)]
Delete mkdmg which hasn't been used in years.
Regenerate translations.

11 years agoMinor changes for Windows build.
robertlipe [Sat, 3 Jan 2015 02:38:24 +0000 (02:38 +0000)]
Minor changes for Windows build.
Try to get setup.iss newlines handled sensibly.

11 years agoDelete unused fn in mainwindow.cc. Bump version number to prep for release.
robertlipe [Fri, 2 Jan 2015 23:02:55 +0000 (23:02 +0000)]
Delete unused fn in mainwindow.cc.  Bump version number to prep for release.

11 years agoHandle Yosemite version reporting on a Qt that doesn't support Yosemite
robertlipe [Fri, 2 Jan 2015 22:56:20 +0000 (22:56 +0000)]
Handle Yosemite version reporting on a Qt that doesn't support Yosemite
 and speculatively handle whatever's next.

11 years agoRalf Horstmann makes KML reader more robust in light of seriously malformed input.
robertlipe [Wed, 31 Dec 2014 00:21:45 +0000 (00:21 +0000)]
Ralf Horstmann makes KML reader more robust in light of seriously malformed input.

11 years agoharden nmea reader to unexpectedly long data fields.
tsteven4 [Fri, 26 Dec 2014 23:16:53 +0000 (23:16 +0000)]
harden nmea reader to unexpectedly long data fields.

11 years agoDon't let Google format reader crash on malformed route input.
robertlipe [Mon, 22 Dec 2014 19:32:31 +0000 (19:32 +0000)]
Don't let Google format reader crash on malformed route input.

11 years agoOpenBSD's head doesn't support -c. Avoid in testo.
robertlipe [Mon, 22 Dec 2014 19:30:03 +0000 (19:30 +0000)]
OpenBSD's head doesn't support -c.  Avoid in testo.

11 years agoRalf Horstmann fixes out of bound read in Google polyline reader.
robertlipe [Mon, 22 Dec 2014 19:27:44 +0000 (19:27 +0000)]
Ralf Horstmann fixes out of bound read in Google polyline reader.

11 years agofix handling of extra columns in unicsv reader.
tsteven4 [Sun, 21 Dec 2014 22:36:51 +0000 (22:36 +0000)]
fix handling of extra columns in unicsv reader.

11 years agoOoopsy. Didn't mean to delete gbser_posix.
robertlipe [Wed, 17 Dec 2014 01:10:17 +0000 (01:10 +0000)]
Ooopsy.  Didn't mean to delete gbser_posix.

11 years agoRegenerate Makefile dependencies.
robertlipe [Wed, 17 Dec 2014 00:47:31 +0000 (00:47 +0000)]
Regenerate Makefile dependencies.

11 years agoDon't hang on malformed UTF-16 input.
robertlipe [Tue, 16 Dec 2014 15:49:54 +0000 (15:49 +0000)]
Don't hang on malformed UTF-16 input.

11 years agoRalf Horstmann makes mynav more robust to afl fuzzer.
robertlipe [Mon, 15 Dec 2014 02:13:56 +0000 (02:13 +0000)]
Ralf Horstmann makes mynav more robust to afl fuzzer.

11 years agoEw. Internally force-match QStrings and C strings in GPX write version
robertlipe [Mon, 15 Dec 2014 00:00:43 +0000 (00:00 +0000)]
Ew.  Internally force-match QStrings and C strings in GPX write version
number to prevent leak.

11 years agoBe more precise with buffer size in gbfread of a QString.
robertlipe [Sun, 14 Dec 2014 21:29:22 +0000 (21:29 +0000)]
Be more precise with buffer size in gbfread of a QString.
Misc hyperactive warning cleanups.

11 years agoFix brain-o from last gpx change.
robertlipe [Sun, 14 Dec 2014 01:11:37 +0000 (01:11 +0000)]
Fix brain-o from last gpx change.

11 years agoMake gpx_version a QString in gpx writer.
robertlipe [Sun, 14 Dec 2014 00:25:21 +0000 (00:25 +0000)]
Make gpx_version a QString in gpx writer.

11 years agoTry to use xasprintf less often when we're putting it into a QString anyway.
robertlipe [Sun, 14 Dec 2014 00:13:39 +0000 (00:13 +0000)]
Try to use xasprintf less often when we're putting it into a QString anyway.

11 years agoMove cet/cet_util out of defs.h and into files where it's actually used.
robertlipe [Sat, 13 Dec 2014 21:39:15 +0000 (21:39 +0000)]
Move cet/cet_util out of defs.h and into files where it's actually used.
(Not all of which I'm convinced it's actually _needed_...)

11 years agoContinue repair of #includes. We use a lot more std c than I thought/hoped. :-(
robertlipe [Mon, 8 Dec 2014 18:35:31 +0000 (18:35 +0000)]
Continue repair of #includes. We use a lot more std c than I thought/hoped. :-(
Tested: Centos.

11 years agoMechanical attempts at fixing Linux build. Still broken, but I'm out of gas for...
robertlipe [Mon, 8 Dec 2014 07:08:18 +0000 (07:08 +0000)]
Mechanical attempts at fixing Linux build.  Still broken, but I'm out of gas for the day.

11 years agoMisc minor internal code cleanups.
robertlipe [Sun, 7 Dec 2014 23:46:57 +0000 (23:46 +0000)]
Misc minor internal code cleanups.
Reduce header chain includes.  ex. move things from defs.h (where they'd get
 compiled for every file) to places that actually needed them.
Try to bring some sanity to includes and order and remove a lot of our C-era
includes.
(I know this is going to come back to byte me...)

11 years agoRalf Horstmann contributes support for Mynav Map Manager and VDO GP7.
robertlipe [Mon, 1 Dec 2014 21:11:43 +0000 (21:11 +0000)]
Ralf Horstmann contributes support for Mynav Map Manager and VDO GP7.

11 years agoDon't explictly construct a QString from a QString in GPX reader.
robertlipe [Tue, 25 Nov 2014 05:00:36 +0000 (05:00 +0000)]
Don't explictly construct a QString from a QString in GPX reader.

11 years agoFix some whitespace in KML writer where we mocked the old one for fidelity.
robertlipe [Tue, 25 Nov 2014 04:57:31 +0000 (04:57 +0000)]
Fix some whitespace in KML writer where we mocked the old one for fidelity.
Fixed reference files where it mattered.

11 years agoWarning fixes for unused vars in psitrex.
robertlipe [Tue, 25 Nov 2014 04:33:16 +0000 (04:33 +0000)]
Warning fixes for unused vars in psitrex.

11 years agofix error in kml reader parsing linestrings that don't have altitudes.
tsteven4 [Wed, 19 Nov 2014 00:11:37 +0000 (00:11 +0000)]
fix error in kml reader parsing linestrings that don't have altitudes.

11 years agoBring Qstrings to gt_find_desc_from_icon_number,
tsteven4 [Sun, 19 Oct 2014 19:04:27 +0000 (19:04 +0000)]
Bring Qstrings to gt_find_desc_from_icon_number,
and a few other places.

11 years agosupport altitude in mainnav format.
tsteven4 [Fri, 17 Oct 2014 12:32:44 +0000 (12:32 +0000)]
support altitude in mainnav format.

11 years agoadd missing reference file from previous change.
tsteven4 [Tue, 14 Oct 2014 01:31:22 +0000 (01:31 +0000)]
add missing reference file from previous change.

11 years agomore qstringification of kml format.
tsteven4 [Mon, 13 Oct 2014 23:54:35 +0000 (23:54 +0000)]
more qstringification of kml format.

11 years agoclean up gpx reader fix element handling. Note that the fix element values are requi...
tsteven4 [Sun, 12 Oct 2014 17:33:23 +0000 (17:33 +0000)]
clean up gpx reader fix element handling.  Note that the fix element values are required to be in lower case by the schema.

11 years agoMinort QString-ificaion of google.cc
robertlipe [Sun, 12 Oct 2014 02:17:07 +0000 (02:17 +0000)]
Minort QString-ificaion of google.cc

11 years agoFinish the sub-second support for unicsv...
robertlipe [Sat, 11 Oct 2014 21:40:49 +0000 (21:40 +0000)]
Finish the sub-second support for unicsv...

11 years agotop: prefer std::vector to temp xmalloc.
robertlipe [Sat, 11 Oct 2014 19:33:32 +0000 (19:33 +0000)]
top: prefer std::vector to temp xmalloc.
cet: drop unused code.

11 years agoFix parse_coordinates in the same way.
robertlipe [Wed, 8 Oct 2014 15:57:44 +0000 (15:57 +0000)]
Fix parse_coordinates in the same way.

11 years agoFix failure to overload in parse_speed().
robertlipe [Wed, 8 Oct 2014 15:56:54 +0000 (15:56 +0000)]
Fix failure to overload in parse_speed().

11 years agoFix a minor leak in the KML geocache writer that I just introduced.
robertlipe [Mon, 6 Oct 2014 05:31:27 +0000 (05:31 +0000)]
Fix a minor leak in the KML geocache writer that I just introduced.

11 years agoMove more internals, particularly in unicsv, to QString.
robertlipe [Mon, 6 Oct 2014 02:45:16 +0000 (02:45 +0000)]
Move more internals, particularly in unicsv, to QString.

11 years agounicsv: Avoid a few time_t conversions that would lose sub-second.
robertlipe [Sun, 5 Oct 2014 23:16:08 +0000 (23:16 +0000)]
unicsv: Avoid a few time_t conversions that would lose sub-second.
Various: Less CSTR() abuse.
garmin_tables. Use QString as arg type.

11 years agoFixes for f90g from Jim Keeler. Should be good to go now!
robertlipe [Tue, 30 Sep 2014 19:46:10 +0000 (19:46 +0000)]
Fixes for f90g from Jim Keeler.  Should be good to go now!

11 years agoFix bad commit of f90g-sample.gpx.
robertlipe [Tue, 30 Sep 2014 17:50:13 +0000 (17:50 +0000)]
Fix bad commit of f90g-sample.gpx.

11 years agoAdd missing pieces of f90g, though they're commented out.
robertlipe [Tue, 30 Sep 2014 17:43:14 +0000 (17:43 +0000)]
Add missing pieces of f90g, though they're commented out.

11 years agoWhite B. Coot contributes f90g support.
robertlipe [Tue, 30 Sep 2014 17:38:36 +0000 (17:38 +0000)]
White B. Coot contributes f90g support.

11 years agoFix new memory leak in osm.
robertlipe [Tue, 30 Sep 2014 01:53:03 +0000 (01:53 +0000)]
Fix new memory leak in osm.

11 years agoMatt Hague adds support for OSM way center tags.
robertlipe [Mon, 29 Sep 2014 21:49:05 +0000 (21:49 +0000)]
Matt Hague adds support for OSM way center tags.

11 years agoLinux fix for earlier.
robertlipe [Mon, 29 Sep 2014 03:58:29 +0000 (03:58 +0000)]
Linux fix for earlier.

11 years agoDrop weird structures for epilogue/prologue and use a QStringList.
robertlipe [Mon, 29 Sep 2014 03:56:05 +0000 (03:56 +0000)]
Drop weird structures for epilogue/prologue and use a QStringList.

11 years agoLeak fix during tension of object being both a class and a global...
robertlipe [Mon, 29 Sep 2014 03:00:51 +0000 (03:00 +0000)]
Leak fix during tension of object being both a class and a global...

11 years agoMove xcsv badchars to QString.
robertlipe [Mon, 29 Sep 2014 02:53:05 +0000 (02:53 +0000)]
Move xcsv badchars to QString.

11 years agoCheckpoint bringing some 'class' to csv_util before moving badchars.
robertlipe [Mon, 29 Sep 2014 02:19:29 +0000 (02:19 +0000)]
Checkpoint bringing some 'class' to csv_util before moving badchars.
Still a terrible example of globals and pseudo ctor/dtors...

11 years agoFix mismatched new/free in magproto.
robertlipe [Mon, 29 Sep 2014 00:44:16 +0000 (00:44 +0000)]
Fix mismatched new/free in magproto.

11 years ago(incrementally) more C++ internals in magproto. Gets rid of a few explict
robertlipe [Sun, 28 Sep 2014 23:49:54 +0000 (23:49 +0000)]
(incrementally) more C++ internals in magproto.  Gets rid of a few explict
xstrdups.

11 years agoApply a (somewhat dubious) fix to Humminbird reader from Jim Burchfield
robertlipe [Sun, 28 Sep 2014 23:02:21 +0000 (23:02 +0000)]
Apply a (somewhat dubious) fix to Humminbird reader from Jim Burchfield
for tracks containing exactly 21836 points.

11 years agoDoc fix for motoactv.
robertlipe [Sun, 28 Sep 2014 22:41:39 +0000 (22:41 +0000)]
Doc fix for motoactv.

11 years agoDamien Pobel improves metadata handling in GPX 1.1 reader.
robertlipe [Sun, 28 Sep 2014 22:34:03 +0000 (22:34 +0000)]
Damien Pobel improves metadata handling in GPX 1.1 reader.

11 years agosupply a US-ASCII QTextCodec.
tsteven4 [Sat, 27 Sep 2014 15:31:49 +0000 (15:31 +0000)]
supply a US-ASCII QTextCodec.

11 years agoFix route simplifier to not remove one too many points in edge cases.
robertlipe [Sun, 21 Sep 2014 23:04:22 +0000 (23:04 +0000)]
Fix route simplifier to not remove one too many points in edge cases.
Fix from Steve.

11 years agopiggyback Qt codec on to cet_convert_init.
tsteven4 [Sun, 21 Sep 2014 23:01:51 +0000 (23:01 +0000)]
piggyback Qt codec on to cet_convert_init.
fix encoding in garmin gpi reader and writer using piggybacked global codec.
utilized piggybacked global codec in naviguide reader and writer.

11 years agoproperty fix for gpx test file.
tsteven4 [Sun, 21 Sep 2014 22:57:36 +0000 (22:57 +0000)]
property fix for gpx test file.

11 years agoAllow reads of waypoints in GUI from MTK logger.
robertlipe [Sun, 21 Sep 2014 22:47:09 +0000 (22:47 +0000)]
Allow reads of waypoints in GUI from MTK logger.

11 years agoSeveral minor doc fixes for UTM in style definitions.
robertlipe [Sun, 21 Sep 2014 22:40:45 +0000 (22:40 +0000)]
Several minor doc fixes for UTM in style definitions.

11 years agoa few more replacements of CSTR/CSTRc with qPrintable.
tsteven4 [Thu, 18 Sep 2014 18:26:40 +0000 (18:26 +0000)]
a few more replacements of CSTR/CSTRc with qPrintable.

11 years agomore use of qPrintable instead of CSTR or CSTRc with warning.
tsteven4 [Thu, 18 Sep 2014 18:07:21 +0000 (18:07 +0000)]
more use of qPrintable instead of CSTR or CSTRc with warning.

11 years agomore use of qPrintable instead of CSTR or CSTRc with fatal and printf.
tsteven4 [Thu, 18 Sep 2014 17:57:39 +0000 (17:57 +0000)]
more use of qPrintable instead of CSTR or CSTRc with fatal and printf.

11 years agoavoid use of not recommended QString::sprintf() in favor of QData::toString().
tsteven4 [Thu, 18 Sep 2014 15:24:15 +0000 (15:24 +0000)]
avoid use of not recommended QString::sprintf() in favor of QData::toString().

11 years agoAdd error checking for flagrantly malformed xcsv files.
robertlipe [Wed, 17 Sep 2014 05:15:44 +0000 (05:15 +0000)]
Add error checking for flagrantly malformed xcsv files.
Tested: ./testo on Mac.

11 years agouse qPrintable with printf instead of CSTR, CSTRc.
tsteven4 [Wed, 17 Sep 2014 01:12:12 +0000 (01:12 +0000)]
use qPrintable with printf instead of CSTR, CSTRc.

11 years agouse qPrintable with warning() and fatal() instead of what seems like an arbitrary...
tsteven4 [Wed, 17 Sep 2014 01:05:18 +0000 (01:05 +0000)]
use qPrintable with warning() and fatal() instead of what seems like an arbitrary combination of CSTR and CSTRc.

11 years agoget rid of the last usages of QByteArray::data where QByteArray::constData will work.
tsteven4 [Tue, 16 Sep 2014 22:39:01 +0000 (22:39 +0000)]
get rid of the last usages of QByteArray::data where QByteArray::constData will work.

11 years agoblanket replace of gbfprintf arguments using .toUtf8().data() to avoid potential...
tsteven4 [Tue, 16 Sep 2014 15:58:29 +0000 (15:58 +0000)]
blanket replace of gbfprintf arguments using .toUtf8().data() to avoid potential deep copies.

11 years agoblanket replace of xstrdup(QString.toUtf8().data()) to avoid potential deep copies.
tsteven4 [Tue, 16 Sep 2014 15:41:38 +0000 (15:41 +0000)]
blanket replace of xstrdup(QString.toUtf8().data()) to avoid potential deep copies.

11 years agoThis commit isn't becuase I don't know how to spell it, it's because
robertlipe [Tue, 16 Sep 2014 03:49:59 +0000 (03:49 +0000)]
This commit isn't becuase I don't know how to spell it, it's because
I apparently don't know how to type it...

11 years agouse utf8, our preferred encoding, in gbfputs.
tsteven4 [Tue, 16 Sep 2014 00:12:17 +0000 (00:12 +0000)]
use utf8, our preferred encoding, in gbfputs.

11 years agofor cross compiles use cross versions of lupdate, lrelease if found.
tsteven4 [Mon, 15 Sep 2014 15:04:58 +0000 (15:04 +0000)]
for cross compiles use cross versions of lupdate, lrelease if found.

11 years agofix encoding in naviguide writer.
tsteven4 [Sun, 31 Aug 2014 18:02:09 +0000 (18:02 +0000)]
fix encoding in naviguide writer.

11 years agoImprove read error messages in alan.
robertlipe [Wed, 6 Aug 2014 16:21:52 +0000 (16:21 +0000)]
Improve read error messages in alan.

11 years agoupdating changelog
Bernd Zeimetz [Mon, 4 Aug 2014 14:23:40 +0000 (16:23 +0200)]
updating changelog

11 years agoInstall gpsbabel.html only.
Bernd Zeimetz [Mon, 4 Aug 2014 14:20:03 +0000 (16:20 +0200)]
Install gpsbabel.html only.

Remove php-ized htmldoc folder.
The whole documentation is available as pdf anyway.

Closes: #755457
Thanks: Axel Beckert

11 years agodoc fix
robertlipe [Mon, 21 Jul 2014 00:58:25 +0000 (00:58 +0000)]
doc fix

11 years agoMake mtk_logger use the system tmp directory (/tmp or the one pointed by TMPDIR or...
robertlipe [Sun, 20 Jul 2014 22:23:47 +0000 (22:23 +0000)]
Make mtk_logger use the system tmp directory (/tmp or the one pointed by TMPDIR or $USERPROFILE%/AppData/Local/Temp or whatever) for the file it creates that
holds the device's memory.

11 years agoalso handle default namespace declarations for unknown elements in the gpx reader.
tsteven4 [Tue, 8 Jul 2014 13:13:39 +0000 (13:13 +0000)]
also handle default namespace declarations for unknown elements in the gpx reader.

11 years agopreserve namespace declarations for unknown elements in the gpx reader.
tsteven4 [Tue, 8 Jul 2014 04:09:42 +0000 (04:09 +0000)]
preserve namespace declarations for unknown elements in the gpx reader.
whitespace cleanup of gpx.cc.

11 years agoBump land_air_sea (a very rarely used format) from Latin1 to ASCII just
robertlipe [Mon, 7 Jul 2014 06:14:44 +0000 (06:14 +0000)]
Bump land_air_sea (a very rarely used format) from Latin1 to ASCII just
to get make doc working for now.  It's not clear what's actually used, but
we've not had a lot of traffic on this format...

11 years agoCut a little more Windows CP-1252 code.
robertlipe [Mon, 7 Jul 2014 04:36:10 +0000 (04:36 +0000)]
Cut a little more Windows CP-1252 code.

11 years agoMore minor removals from CET.
robertlipe [Mon, 7 Jul 2014 04:20:57 +0000 (04:20 +0000)]
More minor removals from CET.
Regenerate deps; don't depend on files that don't exist.

11 years agoRemove a large amount of unreachable code formerly involved in characterset
robertlipe [Mon, 7 Jul 2014 03:35:30 +0000 (03:35 +0000)]
Remove a large amount of unreachable code formerly involved in characterset
translation.

11 years agoTweak mkstyle.sh for FreeBSD sed.
robertlipe [Sun, 29 Jun 2014 18:33:31 +0000 (18:33 +0000)]
Tweak mkstyle.sh for FreeBSD sed.

11 years agoChange device discovery to work with 276C in serial mode.
robertlipe [Sun, 29 Jun 2014 18:30:35 +0000 (18:30 +0000)]
Change device discovery to work with 276C in serial mode.

11 years agofix whitespace related potential loss of element text in gpx reader.
tsteven4 [Tue, 17 Jun 2014 12:16:51 +0000 (12:16 +0000)]
fix whitespace related potential loss of element text in gpx reader.

11 years agofondle unicsv header detection some more.
tsteven4 [Fri, 13 Jun 2014 23:29:35 +0000 (23:29 +0000)]
fondle unicsv header detection some more.
this seems like a step backwards, but we cover another error and provide a test case.

11 years agofix handling of unicsv header.
tsteven4 [Thu, 12 Jun 2014 23:40:37 +0000 (23:40 +0000)]
fix handling of unicsv header.

11 years agoAdd freebsd to configure.in. Apparently, they have libusb but no libusb-config.
robertlipe [Wed, 11 Jun 2014 17:13:46 +0000 (17:13 +0000)]
Add freebsd to configure.in.  Apparently, they have libusb but no libusb-config.

11 years agofix test-all so tallying the results won't die trying to list non-existent fatal...
tsteven4 [Wed, 11 Jun 2014 07:47:30 +0000 (07:47 +0000)]
fix test-all so tallying the results won't die trying to list non-existent fatal errors if -e is set.